//
// Headings
//

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: $headings-margin-bottom;
  font-family: $headings-font-family;
  font-weight: $headings-font-weight;
  line-height: $headings-line-height;
  color: $headings-color;
}

h1, .h1 { font-size: $font-size-h1; }
h2, .h2 { font-size: $font-size-h2; }
h3, .h3 { font-size: $font-size-h3; }
h4, .h4 { font-size: $font-size-h4; }
h5, .h5 { font-size: $font-size-h5; }
h6, .h6 { font-size: $font-size-h6; }

.lead {
  font-size: $lead-font-size;
  font-weight: $lead-font-weight;
}

// Type display classes
.display-1 {
  font-size: $display1-size;
  font-weight: $display1-weight;
  line-height: $display-line-height;
}
.display-2 {
  font-size: $display2-size;
  font-weight: $display2-weight;
  line-height: $display-line-height;
}
.display-3 {
  font-size: $display3-size;
  font-weight: $display3-weight;
  line-height: $display-line-height;
}
.display-4 {
  font-size: $display4-size;
  font-weight: $display4-weight;
  line-height: $display-line-height;
}


//
// Horizontal rules
//

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: $hr-border-width solid $hr-border-color;
}


//
// Emphasis
//

small,
.small {
  font-size: $small-font-size;
  font-weight: $font-weight-normal;
}

mark,
.mark {
  padding: $mark-padding;
  background-color: $mark-bg;
}


//
// Lists
//

.list-unstyled {
  @include list-unstyled;
}

// Inline turns list items into inline-block
.list-inline {
  @include list-unstyled;
}
.list-inline-item {
  display: inline-block;

  &:not(:last-child) {
    margin-right: $list-inline-padding;
  }
}

.list-tree {
  .list-tree-item {
    height: 26px;
    line-height: 26px;
    > a {
      display: block;
      height: 100%;
      color: #606266;
      padding-left: 24px;
      &:hover {
        background-color: #f5f7fa;
      }
    }
  }
}


//
// Misc
//

// Builds on `abbr`
.initialism {
  font-size: 90%;
  text-transform: uppercase;
}

// Blockquotes
.blockquote {
  padding: (calc($spacer / 2)) $spacer;
  margin-bottom: $spacer;
  font-size: $blockquote-font-size;
  border-left: $blockquote-border-width solid $blockquote-border-color;
}

.blockquote-footer {
  display: block;
  font-size: 80%; // back to default font-size
  color: $blockquote-small-color;

  &::before {
    content: "\2014 \00A0"; // em dash, nbsp
  }
}

// Opposite alignment of blockquote
.blockquote-reverse {
  padding-right: $spacer;
  padding-left: 0;
  text-align: right;
  border-right: $blockquote-border-width solid $blockquote-border-color;
  border-left: 0;
}

.blockquote-reverse .blockquote-footer {
  &::before {
    content: "";
  }
  &::after {
    content: "\00A0 \2014"; // nbsp, em dash
  }
}

.img-responsive {
  display: block;
  max-width: 100%; // Part 1: Set a maximum relative to the parent
  height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
}

.empty-img {
  width: 227px;
  height: 162px;
  color: #999999;
  background-image: url('/images/emptyRecords.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.triangle-right {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 10px solid $brand-primary;
  border-bottom: 10px solid transparent;
}
.litte-triangle-right {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-left: 4px solid $brand-primary;
  border-bottom: 4px solid transparent;
}
.query-form {
  .el-form-item {
    margin-bottom:15px;
    .el-form-item__label {
      float: left;
    }
    .el-form-item__content {
      display: block !important;
      > div {
        width: 100%;
      }
    }
  }
}

.disabled-form {
  .el-textarea.is-disabled .el-textarea__inner,
  .el-range-editor.is-disabled,
  .el-range-editor.is-disabled input,
  .el-checkbox__input.is-disabled .el-checkbox__inner,
  .el-input.is-disabled .el-input__inner{
    background-color: #f5f5f5 !important;
    border-color: #d1d1d1 !important;
    color: #b8b8b8 !important;
    &::-webkit-input-placeholder {
      color: #b8b8b8 !important;
    }
    &:-moz-placeholder {
      color: #b8b8b8 !important;
    }
    &::-ms-input-placeholder {
      color: #b8b8b8 !important;
    }
  }
  .el-checkbox__input.is-disabled + span.el-checkbox__label{
    color: #b8b8b8 !important;
  }
  .el-button.is-disabled.is-plain{
    background-color: #f5f5f5 !important;
    border-color: #d1d1d1 !important;
    color: #b8b8b8 !important;
  }
}
